-- GENERATED SPELL FOR [Gnarlpine Mystic] --


function spell0_7235(pUnit, Event) --@Wrath,n/a--
pUnit:FullCastSpellOnTarget(9739,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7235', 2000, 1)
end

function Sorts_7235(pUnit, Event)
local choix_sorts_7235 = math.random(0, 0)
if choix_sorts_7235 == 0 then
pUnit:RegisterEvent('spell0_7235', 1, 1)
end
end

function mob7235_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7235', math.random(1500, 3000), 1)
end

function mob7235_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7235_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7235_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7235, 1, 'mob7235_Action')
RegisterUnitEvent(7235, 2, 'mob7235_Leave')
RegisterUnitEvent(7235, 3, 'mob7235_Kill')
RegisterUnitEvent(7235, 4, 'mob7235_Die')
